package com.fosung.frame.modules.sys.entity;

import org.hibernate.validator.constraints.Length;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 系统参数Entity
 * 
 * @author fosung
 * @version 2017-02-16
 */
public class Param extends DataEntity<Param> {

	private static final long serialVersionUID = 1L;

	/*
	 * 参数编码
	 */
	private String paramCode;

	/*
	 * 参数名称
	 */
	private String paramName;

	/*
	 * 参数说明
	 */
	private String paramExplain;

	/*
	 * 参数值
	 */
	private String paramValue;

	/*
	 * 有效标记
	 */
	private String validFlag;

	@Length(min = 1, max = 500)
	public String getParamCode() {
		return paramCode;
	}

	public void setParamCode(String paramCode) {
		this.paramCode = paramCode;
	}

	@Length(min = 1, max = 200)
	public String getParamName() {
		return paramName;
	}

	public void setParamName(String paramName) {
		this.paramName = paramName;
	}

	@Length(min = 0, max = 2000)
	public String getParamExplain() {
		return paramExplain;
	}

	public void setParamExplain(String paramExplain) {
		this.paramExplain = paramExplain;
	}

	@Length(min = 1, max = 2000)
	public String getParamValue() {
		return paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	@Length(min = 1, max = 1)
	public String getValidFlag() {
		return validFlag;
	}

	public void setValidFlag(String validFlag) {
		this.validFlag = validFlag;
	}

}
